import ajax from './ajax'

export const getCode = params => {
  return ajax({
    url: '/AiPartnerLogin/GetCode',
    data: params
  })
}

export const login = params => {
  return ajax({
    url: '/AiPartnerLogin/CheckVerifyCode',
    method: 'POST',
    data: params
  })
}